

/**
 * 唤醒线程
 */
function interrupt() {
    
}



function work() {
    let self = thisObject();

    if( !battle ){
        battle = true;
        os.worker.create(()=>{
            //线程睡眠 5s
            Worker.sleep(5000);
            os.debug("xxx");
        }).start();
        os.debug(vara,"vara的值");
    }
}

